package cn.shangtour.common.vo;

import java.util.List;

import com.fasterxml.jackson.databind.ObjectMapper;

public class TourUIResult {
	// 定义jackson对象
	private static final ObjectMapper MAPPER = new ObjectMapper();
    //查询数据总数量
    private Integer total;
    //分页查询的list结果
    private List<?> rows;
	
    public TourUIResult() {
		
	}
    
    public TourUIResult(Integer total, List<?> rows) {
		this.total = total;
		this.rows = rows;
	}

	public TourUIResult(Long total, List<?> rows) {
		
		this.total = total.intValue();
		this.rows = rows;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}
    
    
    
}
